package demo;

import common.User;
import util.ReflactUtil;

import java.util.HashMap;

/**
 * Demo
 * @author lijiancheng
 * @date 2021/7/12
 */
public class Demo {
    public static void main(String[] args) {
        ReflactUtil reflactUtil = new ReflactUtil();
        String code = "package temp;" +
                "import common.User;" +
                "public class Temp {" +
                "   public static void hello() {" +
                "       System.out.println(\"Hello world\");" +
                "   }" +
                "}";
        reflactUtil.run("Temp",  code, "王五");

    }
}
